package com.hardydou.common.constant;

/**
 * @author ：hardy
 * @description：全局状态常量
 * @date ：Created in 2020-03-04
 * @Copyright ：Hardydou.com
 */
public interface Const {

    enum DelStatus  {
        UN_DEL(0, "正常"),
        DEL(1, "删除");
        public final int val;
        public final String name;

        DelStatus(int val, String name) {
            this.val = val;
            this.name = name;
        }

    }

    enum Status {
        //
        NORMAL(0, "正常"),
        LOCKED(1, "停用");
        public final Integer val;
        public final String name;

        Status(int val, String name) {
            this.val = val;
            this.name = name;
        }
    }

    /**
     * 账户状态
     */
    enum UserStatus {
        //
        NORMAL(0, "正常"),
        LOCKED(1, "停用");
        public final int val;
        public final String name;

        UserStatus(int val, String name) {
            this.val = val;
            this.name = name;
        }
    }

    /**
     * 部门状态
     */
    enum DeptStatus {
        //
        NORMAL(0, "正常"),
        LOCKED(1, "停用");
        public final int val;
        public final String name;

        DeptStatus(int val, String name) {
            this.val = val;
            this.name = name;
        }
    }

    /**
     * 登录状态
     */
    enum JobStatus {
        //
        NORMAL(0, "正常"),
        LOCKED(1, "停用");
        public final int val;
        public final String name;

        JobStatus(int val, String name) {
            this.val = val;
            this.name = name;
        }
    }

    /***
     * 任务状态
     */
    enum PmTaskStatus{
        //
        NORMAL(0,"待处理"),
        ING(1,"进行中"),
        OVER(2,"完成");

        public final int val;
        public final String name;

        PmTaskStatus(int val,String name){
            this.val = val;
            this.name = name;
        }
    }


}
